<!-- module boxcategory -->

{assign var='mFlag' value=1}
<div id="boxcategory">
	{foreach from=$listData key=key item=value}
		<div class="boxcategory_content" {if $mFlag%2!=0}style="margin-right: 20px;"{/if}>
			<div class="boxcategory_title {if $mFlag%2!=0}box_left{else}box_right{/if}">
                            <h4>
                                   {$value.name}
                            </h4>
                        </div>
		<div class="boxcategory_slide" id="slide{$value.idparent}" >
                          {foreach from=$value.category item=child}
                                 <img  alt="" src="{$child.urlimg}">
                         {/foreach}
	        </div>
               
                 
	        <div class="boxcategory_footer {if $mFlag%2!=0}box_left{else}box_right{/if}">
                    
                    {Boxcategoryslide::getListCategory($value.listidcat)}
                    
	        </div>
	    </div>
	    {$mFlag=$mFlag+1}
	{/foreach}
</div>
